<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>中国福利彩票</title>
<link href="css/style.css" type="text/css" rel="stylesheet" />
<link rel="icon" href="images/favicon.png" type="image/x-icon"/>
<script src="js/jquery-1.7.2.min.js"></script>

<!--日期插件-->
<script type="text/javascript" src="js/hDate.js"></script>
<link href="css/hDate.css" rel="stylesheet" />

</head>

<body>
	<div class="Header">
    	<div class="width1200">
        	<div class="left H_logo"><a href="MemberCenter.html"><img src="images/logo.png" width="200" /></a></div>
            <div class="right H_right">欢迎  <a href="MemberCenter.html"><span id="userName"></span></a> <a href="Login.html">注销！</a></div>
            <div class="clear"></div>
        </div>
    </div>
	
    <div class="width1200">
    	<div class="I_main">
            <div class="left IM_left">
            	<div class="IM_T1">查询服务</div>
                <div class="IML_two">
                	<ul>
                        <li class="fist"><a href="Xzhtz.html" style="border:none;" ><img src="images/Limg1.png" width="16" />交易记录查询</a></li>
                        <li><a href="Xzjls.html"><img src="images/Limg1.png" width="16" />资金记录查询</a></li>
                    </ul>
                </div>
                <div class="IM_T2">个人设置</div>
                <div class="IML_two">
                	<ul>
                    	<li><a href="BankCard.html"><img src="images/Limg2.png" width="16" />银行卡变更</a></li>
                        <li><a href="PhoneNumber.html"><img src="images/Limg3.png" width="16" />手机号变更</a></li>
                        <li><a href="Yuecx.html"><img src="images/Limg4.png" width="16" />余额查询</a></li>
                        <li><a href="PassWord.html"><img src="images/Limg5.png" width="16" />修改密码</a></li>
                        <li><a href="App.html"><img src="images/Limg6.png" width="16" />APP下载</a></li>
                    </ul>
                </div>
            </div>
            <div class="right IM_right">
            	
                <div class="IMR_title">
                	<img src="images/RTb.jpg" width="5" />交易记录查询
                </div>
                
                <div class="IM_Rbig">
                	<div class="N_PassWord">
                   	  <table width="100%" border="0" cellspacing="5" cellpadding="0">
                          <tr>
                            <td width="8%" align="right">游戏：</td>
                             <!-- <input type="text" class="NPW_text" id="game"/>-->
                            <td>
                                <div class="NAP_select">
                                    <select name="type" id="game">
                                        <option value="SLTO">双色球</option>
                                    </select>
                                </div>
                            </td>
                          </tr>
                          <tr>
                            <td align="right">开始时间：</td>
                            <td><input type="text" class="NPW_text2"  id="startTime" onClick="calendar.show({ id: this })"/></td>
                          </tr>
                          <tr>
                            <td align="right">截止时间：</td>
                            <td><input type="text" class="NPW_text2"  id="endTime" onClick="calendar.show({ id: this })"  /></td>
                          </tr>
                          <tr>
                            <td align="right">&nbsp;</td>
                            <td><input type="submit" value="确认" class="NAP_but"  onclick="query()"/></td>
                          </tr>
                        </table>
                  </div>
              </div>
                
            </div>
            <div class="clear"></div>
    	</div>
    </div>
    
    <div class="Footer">
    	<div class="width1200">
        	<div class="left">版权所有：中国福利彩票发行管理中心    网站主办：中国福利彩票发行管理中心</div>
            <div class="right"><img src="images/Flogo.png" width="110" /></div>
            <div class="clear"></div>
        </div>
    </div>
</body>
<script type="text/javascript">

jQuery(document).ready(function($){
	$('#userName').html(getCookie("username"));
    var currMon = new Date().getMonth() + 1;
    var currYea = new Date().getFullYear();
    var currDay = new Date().getDate();
    $("#startTime").val(currYea+"-"+currMon+"-"+currDay);
    $("#endTime").val(currYea+"-"+currMon+"-"+currDay);
});
function query(){
	//验证游戏
	if(!validateGame('game')){
		return;
	}
	//验证开始时间结束时间
	if(!validateTime('startTime','endTime',7)){
		return;
	}
	var startTimeStamp = Date.parse(new Date($("#startTime").val()));
	var endTimeStamp = Date.parse(new Date($("#endTime").val()));
	//window.location.href='XzhtzList.html?game='+$("#game").val()+'&startTime='+startTimeStamp+'&endTime='+endTimeStamp;
    var gamecode = "SLTO";
    window.location.href='XzhtzList.html?game='+gamecode+'&startTime='+startTimeStamp+'&endTime='+endTimeStamp;
}
</script>
<script src="js/jsCallCookies.js"></script>
<script src="js/validation.js"></script>
<script src="js/jsCallCookies.js"></script>
</html>
